cmake_minimum_required (VERSION 3.10)
project(cplusbasic)

set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 14)

add_executable(cp_stringdemo stringdemo.cpp)

# test copy constructor
add_executable(cp_BaseDerivedDemo BaseDerivedDemo.cpp)
# enum class demo
add_executable(cp_EnumDemo EnumDemo.cpp)

# 批量修改文件名
add_executable(cp_BatchRenameFiles cp_BatchRenameFiles.cpp)

# std::forward 完美转发
add_executable(cpForwardDemo cpForwardDemo.cpp)
